package com.cx.mall.api;

import com.cx.mall.common.utils.ResponseVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "seckillGoods",name = "mall-seckill-service")
public interface SeckillGoodsFeign {
    @GetMapping("/seckill/goods/activity/{id}")
    ResponseVO listByActivityId(@PathVariable("id") Integer id);
}
